offsetLeftAndRight

open fun offsetLeftAndRight(@NonNull view: View, offset: Int)(source)

Offset this view's horizontal location by the specified amount of pixels.

Parameters

view

view which needs to be offset.

offset

the number of pixels to offset the view by